package infra.bean;



import org.apache.kandula.coordinator.ba.initiator.AbstractCoordinatorIProxy;

/**
 * Javabean TransacaoPedidoServicoBean.
 * 
 * @author Maisa Penha
 */
public class TransacaoPedidoServicoBean {
	
   private AbstractCoordinatorIProxy coordIProxy;
   private controle.PedidoServicoBeanType pedidoServico;
   private int matchCode;
   private boolean liberado;
   private boolean compensar;
   
  
   /**
 * @return the compensar
 */
public boolean isCompensar() {
	return compensar;
}

/**
 * @param compensar the compensar to set
 */
public void setCompensar(boolean compensar) {
	this.compensar = compensar;
}

/**
 * @return the liberado
 */
public boolean isLiberado() {
	return liberado;
}

/**
 * @param liberado the liberado to set
 */
public void setLiberado(boolean liberado) {
	this.liberado = liberado;
}

/**
 * @return the matchcode
 */
public int getMatchCode() {
	return matchCode;
}

/**
 * @param matchcode the matchcode to set
 */
public void setMatchCode(int matchCode) {
	this.matchCode = matchCode;
}

public TransacaoPedidoServicoBean (AbstractCoordinatorIProxy coordIProxy,
		   controle.PedidoServicoBeanType pedidoServico,
		   int matchCode){
	   this.pedidoServico = pedidoServico;
	   this.coordIProxy = coordIProxy;
	   this.matchCode = matchCode;
	   liberado = false;
	   compensar = false;
   }
   
   /**
 * @return the coordIProxy
 */
public AbstractCoordinatorIProxy getCoordIProxy() {
	return coordIProxy;
}
/**
 * @param coordIProxy the coordIProxy to set
 */
public void setCoordIProxy(AbstractCoordinatorIProxy coordIProxy) {
	this.coordIProxy = coordIProxy;
}
/**
 * @return the idPedidoServico
 */
public controle.PedidoServicoBeanType getPedidoServico() {
	return pedidoServico;
}
/**
 * @param idPedidoServico the idPedidoServico to set
 */
public void setIdPedidoServico(controle.PedidoServicoBeanType pedidoServico) {
	this.pedidoServico = pedidoServico;
}


}
